package com.chhuang.huaao.bean;


import com.chhuang.core.bean.QueryBean;
import com.chhuang.huaao.po.HaCustomer;

/**
* HaCustomer QueryBean
* @author ChHuang
* @date Sun Apr 16 08:43:49 CST 2017
*/
public class HaCustomerQueryBean extends QueryBean<HaCustomer>{
	private static final long serialVersionUID = -6013491483961130781L;
	private String customerId;
	public String getCustomerId(){
		return customerId;
	}
	public void setCustomerId(String customerId){
		this.customerId=customerId;
	}
	private String customerAccount;
	public String getCustomerAccount(){
		return customerAccount;
	}
	public void setCustomerAccount(String customerAccount){
		this.customerAccount=customerAccount;
	}
	private String customerPhone;
	public String getCustomerPhone(){
		return customerPhone;
	}
	public void setCustomerPhone(String customerPhone){
		this.customerPhone=customerPhone;
	}
	private String customerPassword;
	public String getCustomerPassword(){
		return customerPassword;
	}
	public void setCustomerPassword(String customerPassword){
		this.customerPassword=customerPassword;
	}
	private String customerName;
	public String getCustomerName(){
		return customerName;
	}
	public void setCustomerName(String customerName){
		this.customerName=customerName;
	}
	private Integer customerGender;
	public Integer getCustomerGender(){
		return customerGender;
	}
	public void setCustomerGender(Integer customerGender){
		this.customerGender=customerGender;
	}
	private String customerCompany;
	public String getCustomerCompany(){
		return customerCompany;
	}
	public void setCustomerCompany(String customerCompany){
		this.customerCompany=customerCompany;
	}
	private String customerPhoto;
	public String getCustomerPhoto(){
		return customerPhoto;
	}
	public void setCustomerPhoto(String customerPhoto){
		this.customerPhoto=customerPhoto;
	}
	private String deviceSystem;
	public String getDeviceSystem(){
		return deviceSystem;
	}
	public void setDeviceSystem(String deviceSystem){
		this.deviceSystem=deviceSystem;
	}
	private String deviceModel;
	public String getDeviceModel(){
		return deviceModel;
	}
	public void setDeviceModel(String deviceModel){
		this.deviceModel=deviceModel;
	}
	private String deviceVendor;
	public String getDeviceVendor(){
		return deviceVendor;
	}
	public void setDeviceVendor(String deviceVendor){
		this.deviceVendor=deviceVendor;
	}
	private String deviceUuid;
	public String getDeviceUuid(){
		return deviceUuid;
	}
	public void setDeviceUuid(String deviceUuid){
		this.deviceUuid=deviceUuid;
	}
	private String clientId;
	public String getClientId(){
		return clientId;
	}
	public void setClientId(String clientId){
		this.clientId=clientId;
	}
	private String clientVersion;
	public String getClientVersion(){
		return clientVersion;
	}
	public void setClientVersion(String clientVersion){
		this.clientVersion=clientVersion;
	}
	private String lastLoginAddress;
	public String getLastLoginAddress(){
		return lastLoginAddress;
	}
	public void setLastLoginAddress(String lastLoginAddress){
		this.lastLoginAddress=lastLoginAddress;
	}
	private String lastLoginTime;
	public String getLastLoginTime(){
		return lastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime){
		this.lastLoginTime=lastLoginTime;
	}
	private String createTime;
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	private String modifyTime;
	public String getModifyTime(){
		return modifyTime;
	}
	public void setModifyTime(String modifyTime){
		this.modifyTime=modifyTime;
	}
	private Boolean locked;
	public Boolean getLocked(){
		return locked;
	}
	public void setLocked(Boolean locked){
		this.locked=locked;
	}
	@Override
	public String fieldTransforColumn(String field) {
		if("customerId".equals(field)){
			return "CUSTOMER_ID";
		}else if("customerAccount".equals(field)){
			return "CUSTOMER_ACCOUNT";
		}else if("customerPhone".equals(field)){
			return "CUSTOMER_PHONE";
		}else if("customerPassword".equals(field)){
			return "CUSTOMER_PASSWORD";
		}else if("customerName".equals(field)){
			return "CUSTOMER_NAME";
		}else if("customerGender".equals(field)){
			return "CUSTOMER_GENDER";
		}else if("customerCompany".equals(field)){
			return "CUSTOMER_COMPANY";
		}else if("customerPhoto".equals(field)){
			return "CUSTOMER_PHOTO";
		}else if("deviceSystem".equals(field)){
			return "DEVICE_SYSTEM";
		}else if("deviceModel".equals(field)){
			return "DEVICE_MODEL";
		}else if("deviceVendor".equals(field)){
			return "DEVICE_VENDOR";
		}else if("deviceUuid".equals(field)){
			return "DEVICE_UUID";
		}else if("clientId".equals(field)){
			return "CLIENT_ID";
		}else if("clientVersion".equals(field)){
			return "CLIENT_VERSION";
		}else if("lastLoginAddress".equals(field)){
			return "LAST_LOGIN_ADDRESS";
		}else if("lastLoginTime".equals(field)){
			return "LAST_LOGIN_TIME";
		}else if("createTime".equals(field)){
			return "CREATE_TIME";
		}else if("modifyTime".equals(field)){
			return "MODIFY_TIME";
		}else if("locked".equals(field)){
			return "LOCKED";
		}else{
			return field;
		}
	}
	@Override
	public String columnTransforField(String column) {
		if("CUSTOMER_ID".equals(column)){
			return "customerId";
		}else if("CUSTOMER_ACCOUNT".equals(column)){
			return "customerAccount";
		}else if("CUSTOMER_PHONE".equals(column)){
			return "customerPhone";
		}else if("CUSTOMER_PASSWORD".equals(column)){
			return "customerPassword";
		}else if("CUSTOMER_NAME".equals(column)){
			return "customerName";
		}else if("CUSTOMER_GENDER".equals(column)){
			return "customerGender";
		}else if("CUSTOMER_COMPANY".equals(column)){
			return "customerCompany";
		}else if("CUSTOMER_PHOTO".equals(column)){
			return "customerPhoto";
		}else if("DEVICE_SYSTEM".equals(column)){
			return "deviceSystem";
		}else if("DEVICE_MODEL".equals(column)){
			return "deviceModel";
		}else if("DEVICE_VENDOR".equals(column)){
			return "deviceVendor";
		}else if("DEVICE_UUID".equals(column)){
			return "deviceUuid";
		}else if("CLIENT_ID".equals(column)){
			return "clientId";
		}else if("CLIENT_VERSION".equals(column)){
			return "clientVersion";
		}else if("LAST_LOGIN_ADDRESS".equals(column)){
			return "lastLoginAddress";
		}else if("LAST_LOGIN_TIME".equals(column)){
			return "lastLoginTime";
		}else if("CREATE_TIME".equals(column)){
			return "createTime";
		}else if("MODIFY_TIME".equals(column)){
			return "modifyTime";
		}else if("LOCKED".equals(column)){
			return "locked";
		}else{
			return column;
		}
	}
}